/**
 * $Revision: 1.0 $
 * $Author: Eric Yang $
 * $Date: Aug 12, 2009 9:29:41 PM $
 *
 * Author: Eric Yang
 * Date  : Aug 12, 2009 9:29:41 PM
 *
 */
package com.gooex.web.action.organization.user;

import com.gooex.domain.organization.User;
import com.gooex.web.action.BaseProtectedAction;


/**
 * @author Eric Yang
 * @version 1.0
 */
public class ViewUser extends BaseProtectedAction {

	private String id;

	private User user;

	public String execute() throws Exception {
		user = userManager.getUser(id);
		return SUCCESS;
	}

	public void setId(String id) {
		this.id = id;
	}

	public User getUser() {
		return user;
	}

}
